package gspushmq.v1.app.subscribeapp.models;

import java.io.Serializable;

/**
 * @Description 安卓推送对象
 * @Author chengsj
 * @Date 2018/9/14 9:41
 * @Version 1.0
 * @company 上海朝阳永续信息技术有限公司
 * @copyright (c) 2015 SunTime Co'Ltd Inc. All rights reserved.
 **/
public class AndroidMessge extends Message implements Serializable {

    //通知的提醒方式 "VIBRATE" : 震动 "SOUND" : 声音 "BOTH" : 声音和震动 NONE : 静音
    private String androidNotifyType = "NONE";
    //通知栏自定义样式0-100
    private Integer androidNotificationBarType =1;
    //通知栏自定义样式0-100
    private Integer androidNotificationBarPriority =1 ;
    //点击通知后动作 "APPLICATION" : 打开应用 "ACTIVITY" : 打开AndroidActivity "URL" : 打开URL "NONE" : 无跳转
    private String androidOpenType = "APPLICATION" ;
    //Android收到推送后打开对应的url,仅当AndroidOpenType="URL"有效
    private String androidOpenUrl ;
    // 设定通知打开的activity，仅当AndroidOpenType="Activity"有效
    private String androidActivity ;

    private String androidMusic ="default"; // Android通知音乐
    private String androidXiaoMiActivity ;//设置该参数后启动小米托管弹窗功能, 此处指定通知点击后跳转的Activity（托管弹窗的前提条件：1. 集成小米辅助通道；2. StoreOffline参数设为true）
    private String androidXiaoMiNotifyTitle;
    private String androidXiaoMiNotifyBody ;
    private String androidExtParameters ;

    private String androidNotificationChannel = "1"; //8.0特殊处理
    private String androidPopupActivity = "com.gogol.alipush.ThirdPushActivity"; //辅助弹窗


    public String getAndroidNotificationChannel() {
        return androidNotificationChannel;
    }

    public void setAndroidNotificationChannel(String androidNotificationChannel) {
        this.androidNotificationChannel = androidNotificationChannel;
    }

    public String getAndroidPopupActivity() {
        return androidPopupActivity;
    }

    public void setAndroidPopupActivity(String androidPopupActivity) {
        this.androidPopupActivity = androidPopupActivity;
    }

    public String getAndroidNotifyType() {
        return androidNotifyType;
    }

    public void setAndroidNotifyType(String androidNotifyType) {
        this.androidNotifyType = androidNotifyType;
    }

    public Integer getAndroidNotificationBarType() {
        return androidNotificationBarType;
    }

    public void setAndroidNotificationBarType(Integer androidNotificationBarType) {
        this.androidNotificationBarType = androidNotificationBarType;
    }

    public Integer getAndroidNotificationBarPriority() {
        return androidNotificationBarPriority;
    }

    public void setAndroidNotificationBarPriority(Integer androidNotificationBarPriority) {
        this.androidNotificationBarPriority = androidNotificationBarPriority;
    }

    public String getAndroidOpenType() {
        return androidOpenType;
    }

    public void setAndroidOpenType(String androidOpenType) {
        this.androidOpenType = androidOpenType;
    }

    public String getAndroidOpenUrl() {
        return androidOpenUrl;
    }

    public void setAndroidOpenUrl(String androidOpenUrl) {
        this.androidOpenUrl = androidOpenUrl;
    }

    public String getAndroidActivity() {
        return androidActivity;
    }

    public void setAndroidActivity(String androidActivity) {
        this.androidActivity = androidActivity;
    }

    public String getAndroidMusic() {
        return androidMusic;
    }

    public void setAndroidMusic(String androidMusic) {
        this.androidMusic = androidMusic;
    }

    public String getAndroidXiaoMiActivity() {
        return androidXiaoMiActivity;
    }

    public void setAndroidXiaoMiActivity(String androidXiaoMiActivity) {
        this.androidXiaoMiActivity = androidXiaoMiActivity;
    }

    public String getAndroidXiaoMiNotifyTitle() {
        return androidXiaoMiNotifyTitle;
    }

    public void setAndroidXiaoMiNotifyTitle(String androidXiaoMiNotifyTitle) {
        this.androidXiaoMiNotifyTitle = androidXiaoMiNotifyTitle;
    }

    public String getAndroidXiaoMiNotifyBody() {
        return androidXiaoMiNotifyBody;
    }

    public void setAndroidXiaoMiNotifyBody(String androidXiaoMiNotifyBody) {
        this.androidXiaoMiNotifyBody = androidXiaoMiNotifyBody;
    }

    public String getAndroidExtParameters() {
        return androidExtParameters;
    }

    public void setAndroidExtParameters(String androidExtParameters) {
        this.androidExtParameters = androidExtParameters;
    }
}
